home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
program
/
swagg_m.zip
/
MEMORY.SWG
/
0013_SDRVFLSH.PAS.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-05-28
|
704b
|
47 lines
{
HAGEN LEHMANN
This Procedure flushes the SMARTDRV.EXE-cache.
}
Procedure FlushChache; Assembler;
Asm
mov ax,$4A10
mov bx,$0002
int $2F
end;
{
MARCO MILTENBURG
Flushing SmartDrive: It's written by Max Maischein (2:249/6.17) and Norbert
Igl (2:2402/300.3), both from Germany (if I'm not mistaken).
}
Procedure FlushSD_sys; Far;
Var
F : File;
B : Byte;
begin
Assign(F, 'SMARTAAR');
Reset(F);
B := 0;
Asm
push ds
mov ax, 04403h
mov bx, FileRec(F).Handle
mov cx, 1
int 21h
pop ds
end;
end;
Procedure FlushSD_exe; Far;
begin
Asm
mov ax, 04A10h
mov bx, 1
int 2Fh
end;
end;